package com.copm.ifm.servers.sys.mapper.staff;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.copm.ifm.servers.sys.entity.SysStaffRole;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 员工-角色关联关系表 Mapper 接口
 * </p>
 *
 * @author zzf
 * @since 2021-01-04
 */
public interface SysStaffRoleMapper extends BaseMapper<SysStaffRole> {

    int insertStaffRollList(@Param("list") List<SysStaffRole> list);

    List<SysStaffRole> selectListByRoleId(@Param("roleIdList") List<Long> roleIdList);
}
